package com.yuerlive.rainbow.module.mine.presenter;

import com.yuerlive.rainbow.base.BasePresenter;
import com.yuerlive.rainbow.base.BaseView;
import com.yuerlive.rainbow.entity.Anchor;
import com.yuerlive.rainbow.entity.BaseData;
import com.yuerlive.rainbow.entity.UserInfo;

import java.util.List;

/**
 * Created by Admin on 2017/6/1.
 */

public interface MyAttetionContract {
    interface Presenter extends BasePresenter {
        void getAttentionData(boolean isLoadMore);

        void subscribeUp(int pos, String upUserId);

        void getUserInfo(int pos,String userId);
    }

    interface View extends BaseView<MyAttetionContract.Presenter> {
        void showAttetionData(List<Anchor> fansList, int page);

        void showSubscribeResult(int code, int pos);

        void showUserInfo(BaseData<UserInfo> data, int pos);
    }
}
